Skip to content

Conversation

@printminion-co
Copy link
Contributor

No description provided.

copied latest https://github.com/nextcloud/.github
in order to avoid hardcoded stable* branches

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
drop v29 support

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades Nextcloud OCP dependencies to v31 and removes support for v29, while modernizing GitHub Actions workflows across the repository.

  • Bumps nextcloud/ocp dev dependency to v31.0.6 and updates app metadata to drop v29 support.
  • Updates all CI workflows with current action versions, SPDX headers, permissions, and optimized matrix strategies.
  • Adds PHP version enforcement checks in Psalm and refines dependency installation steps in workflows.

Reviewed Changes

Copilot reviewed 13 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
lib/AppInfo/Application.php Added blank line to improve license header formatting
composer.json Bumped development dependency nextcloud/ocp to v31.0.6
appinfo/info.xml Updated <nextcloud> min-version from 29 to 30 (dropped v29 support)
.github/workflows/update-nextcloud-ocp-matrix.yml Upgraded checkout & setup-php actions, switched matrix to default branch
.github/workflows/update-nextcloud-ocp-approve-merge.yml Added fork guard, bumped action versions, updated runs-on
.github/workflows/psalm-matrix.yml Added SPDX header, bumped action versions, enforced PHP version in psalm
.github/workflows/phpunit-sqlite.yml Modernized template, added file-existence checks, updated action versions
.github/workflows/phpunit-mysql.yml Similar modernization for MySQL workflow with matrix and checks
.github/workflows/lint-php.yml Updated checkout & setup-php steps, standardized runs-on
.github/workflows/lint-php-cs.yml Updated checkout & setup-php steps with persist-credentials
.github/workflows/lint-info-xml.yml Updated checkout step and SPDX header
.github/workflows/fixup.yml Bumped action version, updated runs-on
.github/workflows/block-unconventional-commits.yml Bumped action version, updated runs-on
Comments suppressed due to low confidence (2)

.github/workflows/psalm-matrix.yml:36

  • The grep pattern lacks a closing double quote and may not match the full phpVersion attribute; update to include the trailing ", for example grep 'phpVersion="${{ steps.versions.outputs.php-min }}"' psalm.xml.
        run: grep 'phpVersion="${{ steps.versions.outputs.php-min }}' psalm.xml

appinfo/info.xml:14

  • [nitpick] The app metadata still allows Nextcloud 30 despite the dev dependency being bumped to OCP v31 only; consider aligning min-version to 31 or adjust the dependency requirement to include v30 if backward compatibility is intended.
		<nextcloud min-version="30" max-version="31"/>

@printminion-co printminion-co force-pushed the mk/dev/upgrade_jobs_to_v31 branch from f494cc2 to ad5f185 Compare July 9, 2025 07:47
@printminion-co printminion-co merged commit 56f4781 into main Jul 9, 2025
10 checks passed
@printminion-co printminion-co deleted the mk/dev/upgrade_jobs_to_v31 branch July 9, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants